]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Add -Wno-error=deprecated declarations
authorOwen W. Taylor <otaylor@fishsoup.net>
Tue, 7 Feb 2012 23:20:14 +0000 (18:20 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Tue, 7 Feb 2012 23:21:56 +0000 (18:21 -0500)
Even with --enable-compile-warnings=error, avoid erroring out on deprecations
for the moment, since we are hitting many Clutter deprecations and some are
hard to fix.

configure.ac

index 33e79db90e7f4a095de510f7962ff5baf2c64292..b33f99beb502726b1b4fd17ee399aa93937c5148 100644 (file)
@@ -199,7 +199,7 @@ if test "$enable_compile_warnings" != no ; then
     if test "$enable_compile_warnings" = error ; then
       case " $CFLAGS " in
       *[\ \    ]-Werror[\ \    ]*) ;;
-      *) CFLAGS="$CFLAGS -Werror" ;;
+      *) CFLAGS="$CFLAGS -Werror -Wno-error=deprecated-declarations" ;;
       esac
     fi
   fi